<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head lang="en">
    <meta charset="UTF-8">
    <%@include file="style.jsp" %>
    <%@include file="script.jsp" %>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/orderlang/distributor/css/customer_detail.css"/>
    <title>客户详情</title>
</head>
<body>
<div id="container_1" style="height:100%">
    <div style="position: relative">
        <%@include file="header.jsp" %>
    </div>
    <div id="content" class="clearfix">
        <%@include file="header.jsp" %>
        <!--内容部分-->
        <div class="right-content" style="margin:75px 20px 0 213px;">
            <p class="brand">
                <a>客户</a>><a href="${pageContext.request.contextPath}/customer/listCustomer">客户查询</a>><a class="now">客户详情</a>
            </p>
            <div class="content-container" >
                <div class="message-form">
                    <form action="">
                        <h4>基础资料</h4>
                        <div class="basic clearfix">
                            <div class="left-block fl clearfix">
                                <div class="account-number">
                                    <span>登录账号</span>
                                    <input name="login-account" class="long" type="text" readonly value="${distributorCustomerDto.systemName}"/>
                                </div>
                                <div class="customer-name">
                                    <span>客户名称</span>
                                    <input name="customer-name" class="long" type="text" readonly value="${distributorCustomerDto.name}"/>
                                </div>
                                <div class="address clearfix">
                                    <span class="fl">联系地址</span>
                                    <div class="select-box clearfix fl chose-address">
                                        <div class="fl province">
                                            <span>▼</span>
                                            <input name="province" type="text" readonly class="short" value="${distributorCustomerDto.province}"/>
                                            <ul class="hide">
                                                <li>陕西</li>
                                                <li>江苏</li>
                                                <li>浙江</li>
                                            </ul>
                                        </div>
                                        <div class="fl city">
                                            <span>▼</span>
                                            <input name="city" type="text" readonly class="short" value="${distributorCustomerDto.city}"/>
                                            <ul class="hide">
                                                <li>西安</li>
                                                <li>汉中</li>
                                                <li>商洛</li>
                                                <li>渭南</li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                                <div class="address-detail">
                                    <input name="address-detail" class="long" type="text" readonly value="${distributorCustomerDto.address}"/>
                                </div>
                                <div class="remarks">
                                    <span>备注</span>
                                    <textarea name="remarks" name="" id="" cols="30" rows="10" readonly>${distributorCustomerDto.remark }</textarea>
                                </div>
                            </div>
                            <div class="right-block fl clearfix">
                            <c:if test="${distributorCustomerDto.isUse==1}">
                                <div class="account-status">
                                    <span>账号状态</span>
                                    <label for="true" class="status on">
                                        <input type="radio" name="state" id="true" value="true"/>
                                        开启
                                    </label>
                                    <label for="false" class="status">
                                        <input type="radio" name="state" id="false" value="false"/>
                                        禁止
                                    </label>
                                </div>
                            </c:if>
                            <c:if test="${distributorCustomerDto.isUse==0}">
                                <div class="account-status">
                                    <span>账号状态</span>
                                    <label for="true" class="status">
                                        <input type="radio" name="state" id="true" value="true"/>
                                        开启
                                    </label>
                                    <label for="false" class="status on">
                                        <input type="radio" name="state" id="false" value="false"/>
                                        禁止
                                    </label>
                                </div>
                            </c:if>
                                <div class="customer-number">
                                    <span>客户编号</span>
                                    <input class="long" type="text" value="${distributorCustomerDto.code}" readonly/>
                                </div>
                                <div class="customer-type clearfix select-box">
                                    <span class="fl">客户类型</span>
                                    <div class="fl">
                                        <span>▼</span>
                                        <input type="text" readonly class="short" value="${distributorCustomerDto.type}"/>
                                        <ul class="hide">
                                            <li>一级代理商</li>
                                            <li>二级代理商</li>
                                            <li>三级代理商</li>
                                            <li>普通用户</li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="content-msg clearfix">
                                    <div class="content-name">
                                        <span>联系人</span>
                                        <input class="short" type="text" readonly value="${distributorCustomerDto.contact}"/>
                                    </div>
                                    <div class="content-phone">
                                        <span>手机</span>
                                        <input class="short" type="text" readonly value="${distributorCustomerDto.tel}"/>
                                    </div>
                                </div>
                                <div class="content-msg clearfix">
                                    <div class="content-name">
                                        <span>电子邮箱</span>
                                        <input class="short" type="text" readonly value="${distributorCustomerDto.email}"/>
                                    </div>
                                    <div class="content-phone">
                                        <span>QQ</span>
                                        <input class="short" type="text" readonly value="${distributorCustomerDto.qq}"/>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <h4>业务信息</h4>
                        <div class="sales-clerk clearfix select-box">
                            <span class="fl">所属业务员</span>
                            <div class="fl">
                                <span>▼</span>
                                <input type="text" readonly class="long" value="${distributorCustomerDto.duname}"/>
                                <ul class="hide">
                                    <li>张三</li>
                                    <li>李四</li>
                                    <li>王五</li>
                                    <li>赵六</li>
                                </ul>
                            </div>
                        </div>
                        <div class="payment">
                            <span><b>*</b>付款方式</span>
                            <c:forTokens items="${distributorCustomerDto.settlementType }" delims=";" var="item">
							<label for="now" class="pay-way on">${item }</label>
                            <input type="checkbox" name="now" id="now" value="" readonly/>
						</c:forTokens>
                        </div>
                        <h4>财务信息</h4>
                        <div class="left-block fl">
                            <div class="account-number">
                                <span>开户名称</span>
                                <input class="long" type="text" readonly value="${distributorCustomerDto.accountName}" />
                        </div>
                            <div class="account-number">
                                <span>开户银行</span>
                                <input class="long" type="text" readonly value="${distributorCustomerDto.bank}" />
                            </div>
                            <div class="account-number">
                                <span>纳税人识别号</span>
                                <input class="long" type="text" readonly  value="${distributorCustomerDto.taxpayerIdNum}" />
                            </div>
                        </div>
                        <div class="right-block fl">
                            <div class="account-number">
                                <span>银行账号</span>
                                <input class="long" type="text" readonly  value="${distributorCustomerDto.account}" />
                            </div>
                            <div class="account-number">
                                <span>开票抬头</span>
                                <input class="long" type="text" readonly  value="${distributorCustomerDto.invoiceTitle}" />
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <!--内容部分结束-->
    </div>
</div>
</body>
</html>